import { request } from '@/shared/axios';
import type { AxiosResponse } from '@/shared/axios';



export function getMeetingData() {
  const url = '/meetingsdata/';
  return request.get(url).then((res: AxiosResponse) => res.data);
}
export function getActivityData() {
  const url = '/activitiesdata/';
  return request.get(url).then((res: AxiosResponse) => res.data);
}

export function activityDetail(id: string) {
  const url = `/activity/${id}/`;
  return request.get(url, {
  }).then((res: AxiosResponse) => res.data);
}
